<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>css文本效果</title>
    <style>
        .root{
            margin: 50px;
        }
        /* 文字阴影 */
        .text{
            width: 200px;
            margin: auto;
            font-size: 44px;
            font-weight: bold;
            color: pink;
            text-shadow: 10px 5px 4px skyblue,-5px -10px 4px orange;
        }
    </style>
</head>
<body>
    <div class="root">
        <div class="text">文字渐变</div>
    </div>
</body>
</html>